package com.ruoyi.business.controller.app;

import com.ruoyi.business.service.IWsdCompanyService;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.dto.CompanyDTO;
import com.ruoyi.common.core.domain.vo.CompanyVO;
import com.ruoyi.common.enums.BusinessType;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

/**
 * 公司概览信息Controller  小程序
 * 
 * @author ruoyi
 * @date 2024-04-24
 */
@RestController
@RequestMapping("wx_company")
@Slf4j
public class WxAppWsdCompanyController extends BaseController {

    @Autowired
    private IWsdCompanyService wsdCompanyService;

    /**
     * 查询公司概览信息
     */
    @GetMapping("/list")
    public AjaxResult applist() {
        CompanyVO companyVO = wsdCompanyService.selectWsdCompany();
        return AjaxResult.success(companyVO);
    }
}
